package com.ruoyi.warning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.warning.domain.entity.Firewall;
import com.ruoyi.warning.domain.query.FirewallQuery;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * <p>
 * 防火墙相关 服务类
 * </p>
 *
 * @author chenhc
 * @since 2025-07-23
 */
public interface IFirewallService extends IService<Firewall> {

    Object addFirewall(String hostname);

    List<LinkedHashMap<String, Object>> getping(FirewallQuery query);
}
